﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

using Unis.Framework.ORM.Attributes;


namespace KingRoad.EPM.CompletionMaterialsEntity.Model
{
    /// <summary> 
    /// 文件生成时间 2017/1/12 11:35:11
    /// </summary> 
    [Serializable]
    [ModelMap("PROJECT_SEGMENT", new string[] { "SEGMENT_ID" })]
    public class ProjectSegmentInfo : BaseEntity
    {
        public ProjectSegmentInfo()
        {

        }


        private int _segmentId;
        /// <summary>
        /// 
        /// </summary>
        [ColumnMap("SEGMENT_ID", System.Data.DbType.Int32)]
        public int SEGMENT_ID
        {
            get { return _segmentId; }
            set
            {
                if (object.Equals(this._segmentId, value) != true)
                {
                    this._segmentId = value;
                    this.RaisePropertyChanged("SEGMENT_ID");
                }
            }
        }


        private int _segmentPrjinfoid;
        /// <summary>
        /// 
        /// </summary>
        [ColumnMap("SEGMENT_PRJINFOID", System.Data.DbType.Int32)]
        public int SEGMENT_PRJINFOID
        {
            get { return _segmentPrjinfoid; }
            set
            {
                if (object.Equals(this._segmentPrjinfoid, value) != true)
                {
                    this._segmentPrjinfoid = value;
                    this.RaisePropertyChanged("SEGMENT_PRJINFOID");
                }
            }
        }


        private string _segmentCode;
        /// <summary>
        /// 
        /// </summary>
        [ColumnMap("SEGMENT_CODE", System.Data.DbType.String)]
        public string SEGMENT_CODE
        {
            get { return _segmentCode; }
            set
            {
                if (object.Equals(this._segmentCode, value) != true)
                {
                    this._segmentCode = value;
                    this.RaisePropertyChanged("SEGMENT_CODE");
                }
            }
        }


        private string _segmentName;
        /// <summary>
        /// 
        /// </summary>
        [ColumnMap("SEGMENT_NAME", System.Data.DbType.String)]
        public string SEGMENT_NAME
        {
            get { return _segmentName; }
            set
            {
                if (object.Equals(this._segmentName, value) != true)
                {
                    this._segmentName = value;
                    this.RaisePropertyChanged("SEGMENT_NAME");
                }
            }
        }


        private string _segmentDepartname;
        /// <summary>
        /// 
        /// </summary>
        [ColumnMap("SEGMENT_DEPARTNAME", System.Data.DbType.String)]
        public string SEGMENT_DEPARTNAME
        {
            get { return _segmentDepartname; }
            set
            {
                if (object.Equals(this._segmentDepartname, value) != true)
                {
                    this._segmentDepartname = value;
                    this.RaisePropertyChanged("SEGMENT_DEPARTNAME");
                }
            }
        }


        private int _segmentOrgid;
        /// <summary>
        /// 
        /// </summary>
        [ColumnMap("SEGMENT_ORGID", System.Data.DbType.Int32)]
        public int SEGMENT_ORGID
        {
            get { return _segmentOrgid; }
            set
            {
                if (object.Equals(this._segmentOrgid, value) != true)
                {
                    this._segmentOrgid = value;
                    this.RaisePropertyChanged("SEGMENT_ORGID");
                }
            }
        }


        private DateTime _segmentPactdate;
        /// <summary>
        /// 
        /// </summary>
        [ColumnMap("SEGMENT_PACTDATE", System.Data.DbType.DateTime)]
        public DateTime SEGMENT_PACTDATE
        {
            get { return _segmentPactdate; }
            set
            {
                if (object.Equals(this._segmentPactdate, value) != true)
                {
                    this._segmentPactdate = value;
                    this.RaisePropertyChanged("SEGMENT_PACTDATE");
                }
            }
        }


        private string _segmentMainpact;
        /// <summary>
        /// 
        /// </summary>
        [ColumnMap("SEGMENT_MAINPACT", System.Data.DbType.String)]
        public string SEGMENT_MAINPACT
        {
            get { return _segmentMainpact; }
            set
            {
                if (object.Equals(this._segmentMainpact, value) != true)
                {
                    this._segmentMainpact = value;
                    this.RaisePropertyChanged("SEGMENT_MAINPACT");
                }
            }
        }


        private string _segmentStartposition;
        /// <summary>
        /// 
        /// </summary>
        [ColumnMap("SEGMENT_STARTPOSITION", System.Data.DbType.String)]
        public string SEGMENT_STARTPOSITION
        {
            get { return _segmentStartposition; }
            set
            {
                if (object.Equals(this._segmentStartposition, value) != true)
                {
                    this._segmentStartposition = value;
                    this.RaisePropertyChanged("SEGMENT_STARTPOSITION");
                }
            }
        }


        private string _segmentEndposition;
        /// <summary>
        /// 
        /// </summary>
        [ColumnMap("SEGMENT_ENDPOSITION", System.Data.DbType.String)]
        public string SEGMENT_ENDPOSITION
        {
            get { return _segmentEndposition; }
            set
            {
                if (object.Equals(this._segmentEndposition, value) != true)
                {
                    this._segmentEndposition = value;
                    this.RaisePropertyChanged("SEGMENT_ENDPOSITION");
                }
            }
        }


        private string _segmentLength;
        /// <summary>
        /// 
        /// </summary>
        [ColumnMap("SEGMENT_LENGTH", System.Data.DbType.String)]
        public string SEGMENT_LENGTH
        {
            get { return _segmentLength; }
            set
            {
                if (object.Equals(this._segmentLength, value) != true)
                {
                    this._segmentLength = value;
                    this.RaisePropertyChanged("SEGMENT_LENGTH");
                }
            }
        }


        private decimal _segmentPactprice;
        /// <summary>
        /// 
        /// </summary>
        [ColumnMap("SEGMENT_PACTPRICE", System.Data.DbType.Decimal)]
        public decimal SEGMENT_PACTPRICE
        {
            get { return _segmentPactprice; }
            set
            {
                if (object.Equals(this._segmentPactprice, value) != true)
                {
                    this._segmentPactprice = value;
                    this.RaisePropertyChanged("SEGMENT_PACTPRICE");
                }
            }
        }


        private DateTime _segmentPlanstart;
        /// <summary>
        /// 
        /// </summary>
        [ColumnMap("SEGMENT_PLANSTART", System.Data.DbType.DateTime)]
        public DateTime SEGMENT_PLANSTART
        {
            get { return _segmentPlanstart; }
            set
            {
                if (object.Equals(this._segmentPlanstart, value) != true)
                {
                    this._segmentPlanstart = value;
                    this.RaisePropertyChanged("SEGMENT_PLANSTART");
                }
            }
        }


        private DateTime _segmentPlanend;
        /// <summary>
        /// 
        /// </summary>
        [ColumnMap("SEGMENT_PLANEND", System.Data.DbType.DateTime)]
        public DateTime SEGMENT_PLANEND
        {
            get { return _segmentPlanend; }
            set
            {
                if (object.Equals(this._segmentPlanend, value) != true)
                {
                    this._segmentPlanend = value;
                    this.RaisePropertyChanged("SEGMENT_PLANEND");
                }
            }
        }


        private string _segmentCountman;
        /// <summary>
        /// 
        /// </summary>
        [ColumnMap("SEGMENT_COUNTMAN", System.Data.DbType.String)]
        public string SEGMENT_COUNTMAN
        {
            get { return _segmentCountman; }
            set
            {
                if (object.Equals(this._segmentCountman, value) != true)
                {
                    this._segmentCountman = value;
                    this.RaisePropertyChanged("SEGMENT_COUNTMAN");
                }
            }
        }


        private decimal _segmentFirsttotalpay;
        /// <summary>
        /// 
        /// </summary>
        [ColumnMap("SEGMENT_FIRSTTOTALPAY", System.Data.DbType.Decimal)]
        public decimal SEGMENT_FIRSTTOTALPAY
        {
            get { return _segmentFirsttotalpay; }
            set
            {
                if (object.Equals(this._segmentFirsttotalpay, value) != true)
                {
                    this._segmentFirsttotalpay = value;
                    this.RaisePropertyChanged("SEGMENT_FIRSTTOTALPAY");
                }
            }
        }


        private decimal _segmentFirstpayratio;
        /// <summary>
        /// 
        /// </summary>
        [ColumnMap("SEGMENT_FIRSTPAYRATIO", System.Data.DbType.Decimal)]
        public decimal SEGMENT_FIRSTPAYRATIO
        {
            get { return _segmentFirstpayratio; }
            set
            {
                if (object.Equals(this._segmentFirstpayratio, value) != true)
                {
                    this._segmentFirstpayratio = value;
                    this.RaisePropertyChanged("SEGMENT_FIRSTPAYRATIO");
                }
            }
        }


        private decimal _segmentStartcutratio;
        /// <summary>
        /// 
        /// </summary>
        [ColumnMap("SEGMENT_STARTCUTRATIO", System.Data.DbType.Decimal)]
        public decimal SEGMENT_STARTCUTRATIO
        {
            get { return _segmentStartcutratio; }
            set
            {
                if (object.Equals(this._segmentStartcutratio, value) != true)
                {
                    this._segmentStartcutratio = value;
                    this.RaisePropertyChanged("SEGMENT_STARTCUTRATIO");
                }
            }
        }


        private decimal _segmentEndcutratio;
        /// <summary>
        /// 
        /// </summary>
        [ColumnMap("SEGMENT_ENDCUTRATIO", System.Data.DbType.Decimal)]
        public decimal SEGMENT_ENDCUTRATIO
        {
            get { return _segmentEndcutratio; }
            set
            {
                if (object.Equals(this._segmentEndcutratio, value) != true)
                {
                    this._segmentEndcutratio = value;
                    this.RaisePropertyChanged("SEGMENT_ENDCUTRATIO");
                }
            }
        }


        private decimal _segmentLimitholdratio;
        /// <summary>
        /// 
        /// </summary>
        [ColumnMap("SEGMENT_LIMITHOLDRATIO", System.Data.DbType.Decimal)]
        public decimal SEGMENT_LIMITHOLDRATIO
        {
            get { return _segmentLimitholdratio; }
            set
            {
                if (object.Equals(this._segmentLimitholdratio, value) != true)
                {
                    this._segmentLimitholdratio = value;
                    this.RaisePropertyChanged("SEGMENT_LIMITHOLDRATIO");
                }
            }
        }


        private decimal _segmentStartholdratio;
        /// <summary>
        /// 
        /// </summary>
        [ColumnMap("SEGMENT_STARTHOLDRATIO", System.Data.DbType.Decimal)]
        public decimal SEGMENT_STARTHOLDRATIO
        {
            get { return _segmentStartholdratio; }
            set
            {
                if (object.Equals(this._segmentStartholdratio, value) != true)
                {
                    this._segmentStartholdratio = value;
                    this.RaisePropertyChanged("SEGMENT_STARTHOLDRATIO");
                }
            }
        }


        private decimal _segmentMonthholdratio;
        /// <summary>
        /// 
        /// </summary>
        [ColumnMap("SEGMENT_MONTHHOLDRATIO", System.Data.DbType.Decimal)]
        public decimal SEGMENT_MONTHHOLDRATIO
        {
            get { return _segmentMonthholdratio; }
            set
            {
                if (object.Equals(this._segmentMonthholdratio, value) != true)
                {
                    this._segmentMonthholdratio = value;
                    this.RaisePropertyChanged("SEGMENT_MONTHHOLDRATIO");
                }
            }
        }


        private decimal _segmentMaterialpayratio;
        /// <summary>
        /// 
        /// </summary>
        [ColumnMap("SEGMENT_MATERIALPAYRATIO", System.Data.DbType.Decimal)]
        public decimal SEGMENT_MATERIALPAYRATIO
        {
            get { return _segmentMaterialpayratio; }
            set
            {
                if (object.Equals(this._segmentMaterialpayratio, value) != true)
                {
                    this._segmentMaterialpayratio = value;
                    this.RaisePropertyChanged("SEGMENT_MATERIALPAYRATIO");
                }
            }
        }


        private decimal _segmentBill;
        /// <summary>
        /// 
        /// </summary>
        [ColumnMap("SEGMENT_BILL", System.Data.DbType.Decimal)]
        public decimal SEGMENT_BILL
        {
            get { return _segmentBill; }
            set
            {
                if (object.Equals(this._segmentBill, value) != true)
                {
                    this._segmentBill = value;
                    this.RaisePropertyChanged("SEGMENT_BILL");
                }
            }
        }


        private decimal _segmentTotaldaypay;
        /// <summary>
        /// 
        /// </summary>
        [ColumnMap("SEGMENT_TOTALDAYPAY", System.Data.DbType.Decimal)]
        public decimal SEGMENT_TOTALDAYPAY
        {
            get { return _segmentTotaldaypay; }
            set
            {
                if (object.Equals(this._segmentTotaldaypay, value) != true)
                {
                    this._segmentTotaldaypay = value;
                    this.RaisePropertyChanged("SEGMENT_TOTALDAYPAY");
                }
            }
        }


        private decimal _segmentDaypay;
        /// <summary>
        /// 
        /// </summary>
        [ColumnMap("SEGMENT_DAYPAY", System.Data.DbType.Decimal)]
        public decimal SEGMENT_DAYPAY
        {
            get { return _segmentDaypay; }
            set
            {
                if (object.Equals(this._segmentDaypay, value) != true)
                {
                    this._segmentDaypay = value;
                    this.RaisePropertyChanged("SEGMENT_DAYPAY");
                }
            }
        }


        private decimal _segmentTotalinterim;
        /// <summary>
        /// 
        /// </summary>
        [ColumnMap("SEGMENT_TOTALINTERIM", System.Data.DbType.Decimal)]
        public decimal SEGMENT_TOTALINTERIM
        {
            get { return _segmentTotalinterim; }
            set
            {
                if (object.Equals(this._segmentTotalinterim, value) != true)
                {
                    this._segmentTotalinterim = value;
                    this.RaisePropertyChanged("SEGMENT_TOTALINTERIM");
                }
            }
        }


        private decimal _segmentInterim;
        /// <summary>
        /// 
        /// </summary>
        [ColumnMap("SEGMENT_INTERIM", System.Data.DbType.Decimal)]
        public decimal SEGMENT_INTERIM
        {
            get { return _segmentInterim; }
            set
            {
                if (object.Equals(this._segmentInterim, value) != true)
                {
                    this._segmentInterim = value;
                    this.RaisePropertyChanged("SEGMENT_INTERIM");
                }
            }
        }


        private string _segmentCreateman;
        /// <summary>
        /// 
        /// </summary>
        [ColumnMap("SEGMENT_CREATEMAN", System.Data.DbType.String)]
        public string SEGMENT_CREATEMAN
        {
            get { return _segmentCreateman; }
            set
            {
                if (object.Equals(this._segmentCreateman, value) != true)
                {
                    this._segmentCreateman = value;
                    this.RaisePropertyChanged("SEGMENT_CREATEMAN");
                }
            }
        }


        private DateTime _segmentCreatedate;
        /// <summary>
        /// 
        /// </summary>
        [ColumnMap("SEGMENT_CREATEDATE", System.Data.DbType.DateTime)]
        public DateTime SEGMENT_CREATEDATE
        {
            get { return _segmentCreatedate; }
            set
            {
                if (object.Equals(this._segmentCreatedate, value) != true)
                {
                    this._segmentCreatedate = value;
                    this.RaisePropertyChanged("SEGMENT_CREATEDATE");
                }
            }
        }


        private string _segmentUpdateman;
        /// <summary>
        /// 
        /// </summary>
        [ColumnMap("SEGMENT_UPDATEMAN", System.Data.DbType.String)]
        public string SEGMENT_UPDATEMAN
        {
            get { return _segmentUpdateman; }
            set
            {
                if (object.Equals(this._segmentUpdateman, value) != true)
                {
                    this._segmentUpdateman = value;
                    this.RaisePropertyChanged("SEGMENT_UPDATEMAN");
                }
            }
        }


        private DateTime _segmentUpdatedate;
        /// <summary>
        /// 
        /// </summary>
        [ColumnMap("SEGMENT_UPDATEDATE", System.Data.DbType.DateTime)]
        public DateTime SEGMENT_UPDATEDATE
        {
            get { return _segmentUpdatedate; }
            set
            {
                if (object.Equals(this._segmentUpdatedate, value) != true)
                {
                    this._segmentUpdatedate = value;
                    this.RaisePropertyChanged("SEGMENT_UPDATEDATE");
                }
            }
        }


        private int _segmentBudgetid;
        /// <summary>
        /// 
        /// </summary>
        [ColumnMap("SEGMENT_BUDGETID", System.Data.DbType.Int32)]
        public int SEGMENT_BUDGETID
        {
            get { return _segmentBudgetid; }
            set
            {
                if (object.Equals(this._segmentBudgetid, value) != true)
                {
                    this._segmentBudgetid = value;
                    this.RaisePropertyChanged("SEGMENT_BUDGETID");
                }
            }
        }


        private int _segmentOrder;
        /// <summary>
        /// 
        /// </summary>
        [ColumnMap("SEGMENT_ORDER", System.Data.DbType.Int32)]
        public int SEGMENT_ORDER
        {
            get { return _segmentOrder; }
            set
            {
                if (object.Equals(this._segmentOrder, value) != true)
                {
                    this._segmentOrder = value;
                    this.RaisePropertyChanged("SEGMENT_ORDER");
                }
            }
        }


        private int _segmentType;
        /// <summary>
        /// 
        /// </summary>
        [ColumnMap("SEGMENT_TYPE", System.Data.DbType.Int32)]
        public int SEGMENT_TYPE
        {
            get { return _segmentType; }
            set
            {
                if (object.Equals(this._segmentType, value) != true)
                {
                    this._segmentType = value;
                    this.RaisePropertyChanged("SEGMENT_TYPE");
                }
            }
        }


        private string _segmentBtorgname;
        /// <summary>
        /// BT项目公司
        /// </summary>
        [ColumnMap("SEGMENT_BTORGNAME", System.Data.DbType.String)]
        public string SEGMENT_BTORGNAME
        {
            get { return _segmentBtorgname; }
            set
            {
                if (object.Equals(this._segmentBtorgname, value) != true)
                {
                    this._segmentBtorgname = value;
                    this.RaisePropertyChanged("SEGMENT_BTORGNAME");
                }
            }
        }


        private int _segmentBtorgid;
        /// <summary>
        /// 
        /// </summary>
        [ColumnMap("SEGMENT_BTORGID", System.Data.DbType.Int32)]
        public int SEGMENT_BTORGID
        {
            get { return _segmentBtorgid; }
            set
            {
                if (object.Equals(this._segmentBtorgid, value) != true)
                {
                    this._segmentBtorgid = value;
                    this.RaisePropertyChanged("SEGMENT_BTORGID");
                }
            }
        }


        private int _segmentIspartbudget;
        /// <summary>
        /// 
        /// </summary>
        [ColumnMap("SEGMENT_ISPARTBUDGET", System.Data.DbType.Int32)]
        public int SEGMENT_ISPARTBUDGET
        {
            get { return _segmentIspartbudget; }
            set
            {
                if (object.Equals(this._segmentIspartbudget, value) != true)
                {
                    this._segmentIspartbudget = value;
                    this.RaisePropertyChanged("SEGMENT_ISPARTBUDGET");
                }
            }
        }


        private decimal _segmentMeritfund;
        /// <summary>
        /// 
        /// </summary>
        [ColumnMap("SEGMENT_MERITFUND", System.Data.DbType.Decimal)]
        public decimal SEGMENT_MERITFUND
        {
            get { return _segmentMeritfund; }
            set
            {
                if (object.Equals(this._segmentMeritfund, value) != true)
                {
                    this._segmentMeritfund = value;
                    this.RaisePropertyChanged("SEGMENT_MERITFUND");
                }
            }
        }


    }
}


